import VueRouter from 'vue-router'

// 导入对应的组件
import HomeContainer from "./component/tabbar/HomeContainer.vue"
import ProjectContainer from "./component/tabbar/ProjectContainer.vue"
import MineContainer from "./component/tabbar/MineContanier.vue"


// 导入项目详情界面的组件

import onelist from "./component/project/onelistContainer.vue"
import twolist from "./component/project/twolistContainer.vue"
import threelist from "./component/project/threelistContainer.vue"
import fourlist from "./component/project/fourlistContainer.vue"
import fivelist from "./component/project/fivelistContainer.vue"

// 导入六宫格的模块
import evalution from "./component/evaluation/evaluation.vue"
// 导入求职意向的组件
import IntentionContainer from './component/intention/IntentionContanier.vue'
// 导入 工作经历
import experience from "./component/experience/experience.vue"
// 导入 观看反馈
import look from "./component/look/look.vue"
// 导入 其他连接
import other from "./component/other/other.vue"
// 导入 加载更多
import more from "./component/more/more.vue"







// 3. 创建路由对象
var router = new VueRouter({
  // 路由配置对象
  routes:[
    {path:'/',redirect:'/home'},
    {path:'/home',component:HomeContainer},
    {path:'/project',component:ProjectContainer},
    {path:'/mine',component:MineContainer},
 
    // 导入项目详情界面
    // {path:'/project/projectlist/:id',component:ProjectListContainer},
    // 第一个项目详情
    {path:'/project/one',component:onelist},
    {path:'/project/two',component:twolist},
    {path:'/project/three',component:threelist},
    {path:'/project/four',component:fourlist},
    {path:'/project/five',component:fivelist},

    // 导入自我评价
    {path:'/home/evaluation',component:evalution},
    // 工作经历
    {path:'/home/experience',component:experience},
       // 导入求职意向的路由
    {path:'/home/intention',component:IntentionContainer},
    // 观看反馈
     {path:'/home/look',component:look},
    //  其他连接
    {path:'/home/other',component:other},
    // 更多功能
    {path:'/home/more',component:more}

    


  ]
})

// 把路由对象暴露出去
export default router